package com.itheima;

public class BianLiJiOu {
    public static void main(String[] args) {
        int[] arr={191, 192, 17, 16, 119, 81, 210, 9, 918};
        int sum=0;
        for (int i = 0; i < arr.length; i++) {
            int ge=arr[i]%10;
            int shi=arr[i]/10%10;
            if ((arr[i] % 2 != 0) && (ge != 9 && shi != 9)) {
                System.out.println(arr[i]);
                sum+=arr[i];
            }
        }
        System.out.println("满足条件的数的和是："+sum);
    }
}
